<?php 
	$this->headTitle ( 'Project Information' );
?>
<style type="text/css">

	#view-table
	{
		font-family:Verdana, Arial, Helvetica, sans-serif;
		font-size: 11px;
		color: #000;
		background: #fff;
		border-collapse: collapse;
		text-align: left;
	}

	#view-table tr
	{
		font-size: 16px;
		font-weight: bold;
		color: #000;
		padding: 10px 2px 5px 2px;
		border-bottom: 1px solid #373737;
	}

	#view-table td
	{
		color: #4e4e4e;
		padding: 5px 2px 5px 0px;
	}

	#view-table tbody tr:hover td
	{
		font-size: 14px;
		font-weight: bold;
		color: #000;
		background: #efefef; 
	}

	#view-table .odd
	{
		background: #f8f8f8; 
	}
	
</style>
<div id="form-container">
<h1>Full Project Information</h1>
<br />
<table id="view-table" cellspacing="0" align="center"  width="100%" summary="View Hotel">
	<tr>
		<th width="35%">Title</th>		
		<th width="65%"><?php echo $this->escape($this->project->title) ?></th>		
	</tr>
	<tr>
		<th>Description</th>		
		<th><?php echo $this->escape($this->project->description) ?></th>		
	</tr>
	<tr>
		<th>Location</th>		
		<th><?php echo $this->escape($this->project->city) ?>,<?php echo $this->escape($this->project->States->name) ?></th>		
	</tr>
	<?php if($this->pictures) : ?>
	<tr>
		<th>Pictures</th>		
		<th>
			<?php foreach ($this->pictures as $picture):?>  
				<img src="<?php echo $this->escape($this->baseUrl().'/images/'.$picture->filename) ?>" >
			<?php endforeach;?>
		</th>		
	</tr>
	<?php endif;?>
	<?php if( strlen($this->project->video_url) > 4 ) : ?>
	<tr>
		<th>Video</th>		
		<th><a href="<?php echo $this->escape($this->project->video_url) ?>">Click here to see the video</a></th>		
	</tr>
	<?php endif;?>
	<tr>
		<th>Funds Requested</th>		
		<th><?php echo $this->escape($this->project->funds) ?></th>		
	</tr>
	<tr>
		<th>Date Funds needed by</th>		
		<th><?php echo $this->escape($this->project->date_funds) ?></th>		
	</tr>
</table>
</div>